home *** CD-ROM | disk | FTP | other *** search
/ PC Magazine Extra 1998 Summer: The Perfect PC / PC Magazine Extra - The Perfect PC - Summer 1998 Vol 6 #2.iso / zdbench / wb98 / data.z / WBGDI.exe / RCDATA / T < prev   
Text File  |  1997-10-28  |  23KB  |  821 lines

  1. // Copyright (c) 1993-1995 by Ziff-Davis Publishing Company, L.P. All rights reserved.
  2.  
  3. // This is highly confidential information, proprietary to Ziff-Davis Publishing
  4. // Company.  If you are not a member of the WinBench development team at
  5. // Ziff-Davis Benchmark Operation or a member of the WinBench Advisory Committee
  6. // put it down now, and contact Dave Morey at (919) 380-2895.
  7.  
  8. // This file may be larger that 64 KB.
  9. // However, the squeezed version must be less than 32 KB or it will
  10. // not be encrypted by secure.c and wbcrypt.dll.
  11.  
  12.  
  13. // Distribution functions:
  14.  
  15. // MinAveMax(min,ave,max,buckets)  two uniform distributions on either side of ave
  16. // Uniform(min,max,buckets)   ave = (min+max)/2
  17. // Binomial(min,ave,max,buckets)
  18. // Empirical(value/frequency,...)
  19.  
  20. Group ""
  21.  
  22. // Defaults
  23.  
  24. DAlign  Empirical(1/1)
  25. SAlign  Empirical(1/1)
  26. Align   Empirical(1/1)
  27. Clock   Empirical(0/1,1/1)
  28.  
  29.  
  30. // ROP codes: 0=BLACKNESS, 17=NOTSRCERASE, 51=NOTSRCCOPY, 68=SRCERASE,
  31. //            85=DESTINVERT, 90=PATINVERT, 102=SRCINVERT, 136=SRCAND,
  32. //            187=MERGEPAINT, 192=MERGECOPY, 204=SRCCOPY, 238=SRCPAINT,
  33. //            240=PATCOPY, 251=PATPAINT, 255=WHITENESS
  34.  
  35.  
  36. // Average string length from CPC and TOC:
  37. // 75879303/6943803 = 10.9 characters/operation
  38. Length  MinAveMax(1,10.9,30,50)
  39.  
  40. //  0=RGB(ff,ff,ff)
  41. //  1=RGB(c0,c0,c0)
  42. //  2=RGB(80,80,80)
  43. //  3=RGB(00,00,00)
  44. //  4=RGB(ff,00,00)
  45. //  5=RGB(00,ff,00)
  46. //  6=RGB(00,00,ff)
  47. //  7=RGB(ff,ff,00)
  48. //  8=RGB(ff,00,ff)
  49. //  9=RGB(00,ff,ff)
  50. // 10=RGB(80,00,00)
  51. // 11=RGB(00,80,00)
  52. // 12=RGB(00,00,80)
  53. // 13=RGB(80,80,00)
  54. // 14=RGB(80,00,80)
  55. // 15=RGB(00,00,80)
  56. // 16=Random RGB Value
  57.  
  58. // Data from CTF
  59.  
  60. PenColor        Empirical(0/49542,1/13005,2/40631,3/52095,4/114,8/24,12/168,16/7355)
  61.  
  62. BrushColor      Empirical(0/93041,1/50124,2/1069,3/6207,4/8,5/11,6/31,7/30,8/1,9/112,12/15960,14/286,15/361,16/22474)
  63.  
  64. TextColor       Empirical(0/5030,1/810,2/370,3/43488,4/199,5/18,6/101,7/4,8/4,11/1,12/2,16/4765)
  65.  
  66. BkColor         Empirical(0/42129,1/11923,2/1,3/134,5/18,6/32,12/2000,16/77)
  67.  
  68. Color           Empirical(16/1) // for SetPixel
  69.  
  70. // Total from PF / SelectObject(Pen) from SF
  71. ChangePen       254
  72.  
  73. // Total from BF / SelectObject(Brush) from SF
  74. ChangeBrush     1006
  75.  
  76. // (Total from PF + Total from BF) / SetBkColor from SF
  77. // WinBench treats every Pen/Brush as having a background
  78. ChangeBkColor   2194
  79.  
  80. // (Total from PF + Total from BF) / SetBkMode from SF
  81. ChangeBkMode    5234
  82.  
  83. // Total from TBKF / SetTextColor from SF
  84. ChangeTextColor 1145
  85.  
  86. // Abritrary -- used only by SetPixel, no data from logger
  87. // will change color every 50 SetPixels
  88. ChangeColor     50
  89.  
  90. // Total from STF / SetStretchBltMode from SF
  91. ChangeStrMode   114
  92.  
  93. // Total from PMF / SetPolyFillMode from SF
  94. ChangePolyMode  954
  95.  
  96. // Total from R2F / SetROP2 from SF
  97. ChangeROP2      15162
  98.  
  99. //  2=Dot(w=0)
  100. // 18=Dot(w=1)
  101. //  0=solid(w=0)
  102. // 16=solid(w=1)
  103. //  6=inside(w=0)
  104. // 22=inside(w=1)
  105. // 38=inside(w=2)
  106.  
  107. // Data from PF
  108. // substitute solid for null since pen GDIOPs fail with null
  109. Pen             Empirical(2/1,18/1,0/473,16/1051,6/1,22/102,0/3434)
  110.  
  111. //  0=solid
  112. //  2=hatch(horiz)
  113. // 18=hatch(vert)
  114. // 34=hatch(fdiag)
  115. // 50=hatch(bdiag)
  116. // 66=hatch(cross)
  117. // 82=hatch(diagcross)
  118. // 19=bitmap(mono)
  119. // 21=DIB(mono)
  120. //  3=bitmap(color)
  121. //  5=DIB(color)
  122.  
  123. // substitute solid for null since brush GDIOP fail with null
  124. // split pattern into DIB and bitmap evenly
  125. // Data from BF
  126. Brush           Empirical(19/6,21/6,3/8,5/7,0/1897,0/90)
  127.  
  128. // 1=TRANSPARENT
  129. // 2=OPAQUE
  130.  
  131. // Data from BKF
  132. BkMode          Empirical(1/449,2/572)
  133.  
  134. // 1=BLACKONWHITE
  135. // 3=COLORONCOLOR
  136.  
  137. // Data from STF
  138. StrMode         Empirical(1/460,3/353)
  139.  
  140. // 1=ALTERNATE
  141. // 2=WINDING
  142.  
  143. // Data from PMF
  144. PolyMode        Empirical(1/1002,2/4)
  145.  
  146. //  6=NOT
  147. //  7=XORPEN
  148. //  9=MASKPEN
  149. // 10=NOTXORPEN
  150. // 12=MERGENOTPEN
  151. // 13=COPYPEN
  152.  
  153. // Data from R2F
  154. ROP2Mode        Empirical(6/6,7/696,10/1139,13/448477)
  155.  
  156. Group ""        // Non-profiled tests
  157.  
  158. Group ""        // Drawing Surface is Screen
  159.  
  160. Surface         Screen
  161.  
  162. ChangePen       263
  163. ChangeBrush     993
  164. ChangeBkColor   2813
  165. ChangeBkMode    5388
  166. ChangeTextColor 1355
  167. ChangeColor     50
  168. ChangeStrMode   274
  169. ChangePolyMode  333
  170. ChangeROP2      13933
  171. Pen             Empirical(2/1,16/1,0/408,16/953,6/2,22/82,0/3058)
  172. Brush           Empirical(19/5,21/6,3/7,5/7,0/1829,0/85)
  173. BkMode          Empirical(1/357,2/545)
  174. StrMode         Empirical(1/317,3/348)
  175. PolyMode        Empirical(1/331,2/4)
  176. ROP2Mode        Empirical(6/6,7/696,10/1139,13/397083)
  177.  
  178.  Group "GDI"
  179.   Group "S"
  180.  
  181.     Group ""
  182.         Height  MinAveMax(10,75,115,50)
  183.         Width   MinAveMax(10,75,150,30)
  184.         Angle   Uniform(10,350,30)
  185.         Count   300
  186.  
  187.         Test "Arc, Circular, Partial"
  188.             Func        GDIArcTest
  189.             DBase       1 None
  190.             Height      =Width
  191.         End
  192.         Test "Arc, Elliptical, Partial"
  193.             Func        GDIArcTest
  194.             DBase       2 None
  195.         End
  196.         Test "Arc, Circular, Complete"
  197.             Func        GDIArcTest
  198.             DBase       3 None
  199.             Height      =Width
  200.             Angle       Empirical(360/1)
  201.         End
  202.         Test "Arc, Elliptical, Complete"
  203.             Func        GDIArcTest
  204.             DBase       4 None
  205.             Angle       Empirical(360/1)
  206.         End
  207.     End
  208.     Group ""
  209.         Area    MinAveMax(1000,5000,10000,50)
  210.         Height  MinAveMax(50,75,100,20)
  211.         Angle   Uniform(0,359,30)
  212.         Count   300
  213.         Test "Chord, Circular"
  214.             Func        GDIChordTest
  215.             DBase       5 None
  216.             Height      =Width
  217.         End
  218.         Test "Chord, Elliptical"
  219.             Func        GDIChordTest
  220.             DBase       6 None
  221.         End
  222.         Test "Circle"
  223.             Func        GDIEllipseTest
  224.             DBase       7 None
  225.             Height      =Width
  226.         End
  227.         Test "Ellipse"
  228.             Func        GDIEllipseTest
  229.             DBase       8 None
  230.         End
  231.         Test "Pie, Circular"
  232.             Func        GDIPieTest
  233.             DBase       9 None
  234.             Height      =Width
  235.         End
  236.         Test "Pie, Elliptical"
  237.             Func        GDIPieTest
  238.             DBase       10 None
  239.             Height      Uniform(10,150,20)
  240.         End
  241.     End
  242.     Group ""
  243.         Length  MinAveMax(5,75,115,20)
  244.         Count   1000
  245.         Test "Line, Horizontal"
  246.             Func        GDILineFromToTest
  247.             DBase       11 None
  248.             Angle       Empirical(0/1,180/1)
  249.         End
  250.         Test "Line, Vertical"
  251.             Func        GDILineFromToTest
  252.             DBase       12 None
  253.             Angle       Empirical(90/1,270/1)
  254.         End
  255.         Test "Line, Diagonal"
  256.             Func        GDILineFromToTest
  257.             DBase       13 None
  258.             Angle       Uniform(0,359,360)
  259.         End
  260.     End
  261.     Group ""
  262.         Area    MinAveMax(1000,5000,10000,50)
  263.         Height  MinAveMax(50,75,100,20)
  264.         HPercent .333
  265.         VPercent .333
  266.         DPercent .334
  267.         Test "Polygon, Many-sides"
  268.             Func        GDIPolygonTest
  269.             DBase       14 None
  270.             Count       150
  271.             Sides       MinAveMax(17,50,100,20)
  272.         End
  273.         Test "Polygon, Few-sides"
  274.             Func        GDIPolygonTest
  275.             DBase       15 None
  276.             Count       150
  277.             Sides       Uniform(5,16,12)
  278.         End
  279.         Test "Polygon, Triangle"
  280.             Func        GDIPolygonTest
  281.             DBase       16 None
  282.             Count       450
  283.             Sides       Empirical(3/1)
  284.             HPercent    .14
  285.             VPercent    .14
  286.             DPercent    .72
  287.         End
  288.         Test "Polygon, Trapezoid"
  289.             Func        GDIPolygonTest
  290.             DBase       17 None
  291.             Count       450
  292.             Sides       Empirical(4/1)
  293.         End
  294.     End
  295.     Group ""
  296.         Area    MinAveMax(1000,5000,10000,50)
  297.         Height  MinAveMax(50,75,100,20)
  298.         Count   256
  299.         Test "InvertRgn"
  300.             Func        GDIInvertRgnTest
  301.             DBase       18 None
  302.         End
  303.         Test "PaintRgn"
  304.             Func        GDIPaintRgnTest
  305.             DBase       19 None
  306.         End
  307.         Test "FillRgn"
  308.             Func        GDIFillRgnTest
  309.             DBase       20 None
  310.         End
  311.         Test "PatBlt, PATCOPY"
  312.             Func        GDIPatBltTest
  313.             DBase       21 None
  314.             ROP         Empirical(240/1)
  315.         End
  316.         Test "PatBlt, WHITENESS"
  317.             Func        GDIPatBltTest
  318.             DBase       22 None
  319.             ROP         Empirical(255/1)
  320.         End
  321.         Test "PatBlt, DESTINVERT"
  322.             Func        GDIPatBltTest
  323.             DBase       23 None
  324.             ROP         Empirical(85/1)
  325.         End
  326.         Test "PatBlt, All ROPs"
  327.             Func        GDIPatBltTest
  328.             DBase       24 None
  329.             ROP         Empirical(0/1,5/1,10/1,15/1,80/1,85/1,90/1,95/1,160/1,165/1,170/1,175/1,240/1,245/1,250/1,255/1)
  330.         End
  331.     End
  332.     Group ""
  333.         Height  MinAveMax(10,75,115,50)
  334.         Width   MinAveMax(10,75,150,30)
  335.         Count   250
  336.         Test "FrameRgn"
  337.             Func        GDIFrameRgnTest
  338.             DBase       25 None
  339.             Border      MinAveMax(1,3,10,10)
  340.         End
  341.     End
  342.     Group ""
  343.         Count   200
  344.         Font    Times-New-Roman(16)
  345.         Test "Text, Times Roman 16"
  346.             Func        GDIExtTextOutTest
  347.             DBase       26 None
  348.         End
  349.         Test "Text, Times Roman 16, 45"
  350.             Func        GDIExtTextOutTest
  351.             DBase       27 None
  352.             Font        Times-New-Roman(16,0,450,450,400,0,0,0,1,0,0,0,0)
  353.         End
  354.         Test "Text, Times Roman 16, 90"
  355.             Func        GDIExtTextOutTest
  356.             DBase       28 None
  357.             Font        Times-New-Roman(16,0,900,900,400,0,0,0,1,0,0,0,0)
  358.         End
  359.     End
  360.  
  361.     Group ""
  362.         Count 100
  363.         DArea   MinAveMax(1000,5000,10000,50)
  364.         DHeight MinAveMax(50,75,100,20)
  365.         SArea   MinAveMax(1000,5000,10000,40)
  366.         SHeight MinAveMax(50,75,100,30)
  367.         ROP             Empirical(204/1)
  368.         Test "BltDIBits, 1 bpp, SRCCOPY"
  369.             Func        GDIBltDIBitsTest
  370.             DBase       29 None
  371.             Image       DIB1
  372.         End
  373.         Test "BltDIBits, 4 bpp, SRCCOPY"
  374.             Func        GDIBltDIBitsTest
  375.             DBase       30 None
  376.             Image       DIB4
  377.         End
  378.         Test "BltDIBits, 8 bpp, SRCCOPY"
  379.             Func        GDIBltDIBitsTest
  380.             DBase       31 None
  381.             Image       DIB8
  382.         End
  383.         Test "BltDIBits, 24 bpp, SRCCOPY"
  384.             Func        GDIBltDIBitsTest
  385.             DBase       32 None
  386.             Image       DIB8
  387.             Count       50
  388.             Bits        24
  389.         End
  390.         Test "SetDIBitsToDevice, 1 bpp"
  391.             Func        GDISetDIBitsToDeviceTest
  392.             DBase       33 None
  393.             Image       DIB1
  394.         End
  395.         Test "SetDIBitsToDevice, 4 bpp"
  396.             Func        GDISetDIBitsToDeviceTest
  397.             DBase       34 None
  398.             Image       DIB4
  399.         End
  400.         Test "SetDIBitsToDevice, 8 bpp"
  401.             Func        GDISetDIBitsToDeviceTest
  402.             DBase       35 None
  403.             Image       DIB8
  404.         End
  405.         Test "SetDIBitsToDevice, 24 bpp"
  406.             Func        GDISetDIBitsToDeviceTest
  407.             DBase       36 None
  408.             Image       DIB8
  409.             Count       50
  410.             Bits        24
  411.         End
  412.         Test "SetDIBitsBlt, 1 bpp"
  413.             Func        GDISetDIBitsBltTest
  414.             DBase       37 None
  415.             Image       DIB1
  416.         End
  417.         Test "SetDIBitsBlt, 4 bpp"
  418.             Func        GDISetDIBitsBltTest
  419.             DBase       38 None
  420.             Image       DIB4
  421.         End
  422.         Test "SetDIBitsBlt, 8 bpp"
  423.             Func        GDISetDIBitsBltTest
  424.             DBase       39 None
  425.             Image       DIB8
  426.         End
  427.         Test "SetDIBitsBlt, 24 bpp"
  428.             Func        GDISetDIBitsBltTest
  429.             DBase       40 None
  430.             Image       DIB8
  431.             Count       50
  432.             Bits        24
  433.         End
  434.         Test "StretchDIBits, 1 bpp, SRCCOPY"
  435.             Func        GDIStretchDIBitsTest
  436.             DBase       41 None
  437.             Image       DIB1
  438.         End
  439.         Test "StretchDIBits, 4 bpp, SRCCOPY"
  440.             Func        GDIStretchDIBitsTest
  441.             DBase       42 None
  442.             Image       DIB4
  443.         End
  444.         Test "StretchDIBits, 8 bpp, SRCCOPY"
  445.             Func        GDIStretchDIBitsTest
  446.             DBase       43 None
  447.             Image       DIB8
  448.         End
  449.         Test "StretchDIBits, 24 bpp, SRCCOPY"
  450.             Func        GDIStretchDIBitsTest
  451.             DBase       44 None
  452.             Image       DIB8
  453.             Count       20
  454.             Bits        24
  455.         End
  456.     End
  457.  
  458.     Test "MoveTo"
  459.         Func    GDIMoveToTest
  460.         DBase   45 None
  461.         Count   1000
  462.     End
  463.     Test "MoveToEx"
  464.         Func    GDIMoveToExTest
  465.         DBase   46 None
  466.         Count   1000
  467.     End
  468.     Test "GetNearestColor"
  469.         Func    GDIGetNearestColorTest
  470.         DBase   47 None
  471.         Count   1000
  472.     End
  473.     Test "ExtFloodFill, Border"
  474.         Func    GDIExtFloodFillBorderTest
  475.         DBase   48 None
  476.         Count   100
  477.         Areas   10
  478.         Width   20
  479.     End
  480.     Test "ExtFloodFill, Surface"
  481.         Func    GDIExtFloodFillSurfaceTest
  482.         DBase   49 None
  483.         Count   100
  484.         Areas   10
  485.         Width   20
  486.     End
  487.     Test "FloodFill"
  488.         Func    GDIFloodFillTest
  489.         DBase   50 None
  490.         Count   100
  491.         Areas   10
  492.         Width   20
  493.     End
  494.  
  495.     Group "" ? "User Supplied Bitmap"
  496.         Count           20
  497.         "Bitmap Path"   ? ""
  498.  
  499.         Test "SetDIBitsToDevice, User Supplied Bitmap"
  500.                 Func            GDISetDIBitsToDeviceTest
  501.                 DBase           51 None
  502.                 DArea           Maximum
  503.         End
  504.         Test "SetDIBitsBlt, User Supplied Bitmap"
  505.                 Func            GDISetDIBitsBltTest
  506.                 DBase           52 None
  507.         End
  508.         Test "BltDIBits, SRCCOPY, User Supplied Bitmap"
  509.                 Func            GDIBltDIBitsTest
  510.                 DBase           53 None
  511.                 ROP             Empirical(204/1) // SRCCOPY
  512.                 DArea           Maximum
  513.         End
  514.         Test "StretchDIBits, SRCCOPY, User Supplied Bitmap"
  515.                 Func            GDIStretchDIBitsTest
  516.                 DBase           54 None
  517.                 ROP             Empirical(204/1) // SRCCOPY
  518.                 DArea           Maximum(2) // stretch x2
  519.                 SArea           Maximum
  520.                 StrMode         Empirical(3/1)
  521.         End
  522.     End
  523.  
  524.   End
  525.  
  526.  
  527.   Group "SToS"
  528.     Src Screen
  529.  
  530.     Group ""
  531.         Count   256
  532.         DArea   MinAveMax(1000,5000,10000,50)
  533.         DHeight MinAveMax(50,75,100,20)
  534.         SArea   MinAveMax(1000,5000,10000,40)
  535.         SHeight MinAveMax(50,75,100,30)
  536.         Group ""
  537.             Test "BitBlt, SRCCOPY"
  538.                 Func    GDIBitBltTest
  539.                 DBase   55 None
  540.                 ROP     Empirical(204/1)
  541.             End
  542.             Test "BitBlt, All ROPs"
  543.                 Func    GDIBitBltTest
  544.                 DBase   56 None
  545.                 ROP     Uniform(0,255,256)
  546.             End
  547.             Test "StretchBlt, SRCCOPY"
  548.                 Func    GDIStretchBltTest
  549.                 DBase   57 None
  550.                 ROP     Empirical(204/1)
  551.             End
  552.             Test "StretchBlt, All ROPs"
  553.                 Func    GDIStretchBltTest
  554.                 DBase   58 None
  555.                 ROP     Uniform(0,255,256)
  556.             End
  557.         End
  558.     End
  559.  
  560.   End
  561.  
  562.   Group "MToS"
  563.     Src Mono(400,95)
  564.  
  565.     Group ""
  566.         Count   256
  567.         DArea   MinAveMax(1000,5000,10000,50)
  568.         DHeight MinAveMax(50,75,100,20)
  569.         SArea   MinAveMax(1000,5000,10000,40)
  570.         SHeight MinAveMax(50,75,100,30)
  571.         Group ""
  572.             Test "BitBlt, SRCCOPY"
  573.                 Func    GDIBitBltTest
  574.                 DBase   59 None
  575.                 ROP     Empirical(204/1)
  576.             End
  577.             Test "BitBlt, All ROPs"
  578.                 Func    GDIBitBltTest
  579.                 DBase   60 None
  580.                 ROP     Uniform(0,255,256)
  581.             End
  582.             Test "StretchBlt, SRCCOPY"
  583.                 Func    GDIStretchBltTest
  584.                 DBase   61 None
  585.                 ROP     Empirical(204/1)
  586.             End
  587.             Test "StretchBlt, All ROPs"
  588.                 Func    GDIStretchBltTest
  589.                 DBase   62 None
  590.                 ROP     Uniform(0,255,256)
  591.             End
  592.         End
  593.     End
  594.  
  595.   End
  596.  
  597.   Group "CToS"
  598.     Src Color(400,90)
  599.  
  600.     Group ""
  601.         Count   256
  602.         DArea   MinAveMax(1000,5000,10000,50)
  603.         DHeight MinAveMax(50,75,100,20)
  604.         SArea   MinAveMax(1000,5000,10000,40)
  605.         SHeight MinAveMax(50,75,100,30)
  606.         Group ""
  607.             Test "BitBlt, SRCCOPY"
  608.                 Func    GDIBitBltTest
  609.                 DBase   63 None
  610.                 ROP     Empirical(204/1)
  611.             End
  612.             Test "BitBlt, All ROPs"
  613.                 Func    GDIBitBltTest
  614.                 DBase   64 None
  615.                 ROP     Uniform(0,255,256)
  616.             End
  617.             Test "StretchBlt, SRCCOPY"
  618.                 Func    GDIStretchBltTest
  619.                 DBase   65 None
  620.                 ROP     Empirical(204/1)
  621.             End
  622.             Test "StretchBlt, All ROPs"
  623.                 Func    GDIStretchBltTest
  624.                 DBase   66 None
  625.                 ROP     Uniform(0,255,256)
  626.             End
  627.         End
  628.     End
  629.  
  630.   End
  631.  End
  632.  
  633.  Group "USER"
  634.   Group "S"
  635.     Group ""
  636.         Area    MinAveMax(1000,5000,10000,50)
  637.         Height  MinAveMax(50,75,100,20)
  638.         Count   256
  639.         Test "FillRect"
  640.             Func        GDIFillRectTest
  641.             DBase       67 None
  642.         End
  643.         Test "InvertRect"
  644.             Func        GDIInvertRectTest
  645.             DBase       68 None
  646.         End
  647.     End
  648.     Group ""
  649.         Height  MinAveMax(10,75,115,50)
  650.         Width   MinAveMax(10,75,150,30)
  651.         Count   250
  652.         Test "FrameRect"
  653.             Func        GDIFrameRectTest
  654.             DBase       69 None
  655.         End
  656.         Test "DrawFocusRect"
  657.             Func        GDIDrawFocusRectTest
  658.             DBase       70 None
  659.         End
  660.     End
  661.     Group ""
  662.         Count   200
  663.         Font    Times-New-Roman(16)
  664.         Test "DrawText, Times Roman 16"
  665.             Func        GDIDrawTextTest
  666.             DBase       71 None
  667.         End
  668.         Test "GrayString, Times Roman 16"
  669.             Func        GDIGrayStringTest
  670.             DBase       72 None
  671.         End
  672.         Test "TabbedTextOut, Times Roman 16"
  673.             Func        GDITabbedTextOutTest
  674.             DBase       73 None
  675.         End
  676.     End
  677.     Test "ScrollDC"
  678.         Func            GDIScrollDCTest
  679.         DBase           74 None
  680.         Count           100
  681.         Area            MinAveMax(10000,100000,150000,20)
  682.         Height          Uniform(100,300,400,20)
  683.         Vertical        Uniform(-100,100,20)
  684.         Horizontal      Uniform(-100,100,20)
  685.     End
  686.     Test "DrawIcon"
  687.         Func            GDIDrawIconTest
  688.         DBase           75 None
  689.         Count           1000
  690.     End
  691.   End
  692.  End
  693. End
  694.  
  695.  
  696. Group "M"       // Drawing Surface is Mono Bitmap
  697.  
  698. Surface         Mono(400,95)    // Size from MBMAP
  699.  
  700. ChangePen       59
  701. ChangeBrush     28
  702. ChangeBkColor   5
  703. ChangeBkMode    182
  704. ChangeColor     50
  705. ChangeTextColor 354
  706. ChangeStrMode   7
  707. ChangePolyMode  49
  708. ChangeROP2      857
  709. Pen             Empirical(0/4,0/1713)
  710. Brush           Empirical(0/1)
  711. BkMode          Empirical(1/254,2/37)
  712. StrMode         Empirical(1/1)
  713. PolyMode        Empirical(1/1)
  714. ROP2Mode        Empirical(7/5,13/23413)
  715.  
  716. End
  717.  
  718.  
  719.  
  720. Group "C"       // Drawing Surface is Color Bitmap
  721.  
  722. Surface         Color(400,90)   // Size from CBMAP
  723.  
  724. ChangePen       213
  725. ChangeBrush     1847
  726. ChangeBkColor   492
  727. ChangeBkMode    3282
  728. ChangeTextColor 636
  729. ChangeColor     50
  730. ChangeStrMode   32
  731. ChangePolyMode  29455
  732. ChangeROP2      64620
  733. Pen             Empirical(0/647,16/973,22/194,0/3592)
  734. Brush           Empirical(19/58,21/58,3/16,5/17,0/6778,0/447)
  735. BkMode          Empirical(1/665,2/232)
  736. StrMode         Empirical(1/143,3/5)
  737. PolyMode        Empirical(1/67001,2/10)
  738. ROP2Mode        Empirical(13/1)
  739.  
  740. End
  741.  
  742. End
  743.  
  744. End
  745.  
  746.  
  747. Suite "GDI/USER Inspection Tests"
  748. "GDI/S/Arc, Circular, Partial"
  749. "GDI/S/Arc, Elliptical, Partial"
  750. "GDI/S/Arc, Circular, Complete"
  751. "GDI/S/Arc, Elliptical, Complete"
  752. "GDI/S/Chord, Circular"
  753. "GDI/S/Chord, Elliptical"
  754. "GDI/S/Circle"
  755. "GDI/S/Ellipse"
  756. "GDI/S/Pie, Circular"
  757. "GDI/S/Pie, Elliptical"
  758. "GDI/S/Line, Horizontal"
  759. "GDI/S/Line, Vertical"
  760. "GDI/S/Line, Diagonal"
  761. "GDI/S/Polygon, Many-sides"
  762. "GDI/S/Polygon, Few-sides"
  763. "GDI/S/Polygon, Triangle"
  764. "GDI/S/Polygon, Trapezoid"
  765. "GDI/S/InvertRgn"
  766. "GDI/S/PaintRgn"
  767. "GDI/S/FillRgn"
  768. "GDI/S/PatBlt, PATCOPY"
  769. "GDI/S/PatBlt, WHITENESS"
  770. "GDI/S/PatBlt, DESTINVERT"
  771. "GDI/S/PatBlt, All ROPs"
  772. "GDI/S/FrameRgn"
  773. "GDI/S/Text, Times Roman 16"
  774. "GDI/S/Text, Times Roman 16, 45"
  775. "GDI/S/Text, Times Roman 16, 90"
  776. "GDI/S/BltDIBits, 1 bpp, SRCCOPY"
  777. "GDI/S/BltDIBits, 4 bpp, SRCCOPY"
  778. "GDI/S/BltDIBits, 8 bpp, SRCCOPY"
  779. "GDI/S/BltDIBits, 24 bpp, SRCCOPY"
  780. "GDI/S/SetDIBitsToDevice, 1 bpp"
  781. "GDI/S/SetDIBitsToDevice, 4 bpp"
  782. "GDI/S/SetDIBitsToDevice, 8 bpp"
  783. "GDI/S/SetDIBitsToDevice, 24 bpp"
  784. "GDI/S/SetDIBitsBlt, 1 bpp"
  785. "GDI/S/SetDIBitsBlt, 4 bpp"
  786. "GDI/S/SetDIBitsBlt, 8 bpp"
  787. "GDI/S/SetDIBitsBlt, 24 bpp"
  788. "GDI/S/StretchDIBits, 1 bpp, SRCCOPY"
  789. "GDI/S/StretchDIBits, 4 bpp, SRCCOPY"
  790. "GDI/S/StretchDIBits, 8 bpp, SRCCOPY"
  791. "GDI/S/StretchDIBits, 24 bpp, SRCCOPY"
  792. "GDI/S/MoveTo"
  793. "GDI/S/MoveToEx"
  794. "GDI/S/GetNearestColor"
  795. "GDI/S/ExtFloodFill, Border"
  796. "GDI/S/ExtFloodFill, Surface"
  797. "GDI/S/FloodFill"
  798. "GDI/SToS/BitBlt, SRCCOPY"
  799. "GDI/SToS/BitBlt, All ROPs"
  800. "GDI/SToS/StretchBlt, SRCCOPY"
  801. "GDI/SToS/StretchBlt, All ROPs"
  802. "GDI/MToS/BitBlt, SRCCOPY"
  803. "GDI/MToS/BitBlt, All ROPs"
  804. "GDI/MToS/StretchBlt, SRCCOPY"
  805. "GDI/MToS/StretchBlt, All ROPs"
  806. "GDI/CToS/BitBlt, SRCCOPY"
  807. "GDI/CToS/BitBlt, All ROPs"
  808. "GDI/CToS/StretchBlt, SRCCOPY"
  809. "GDI/CToS/StretchBlt, All ROPs"
  810. "USER/S/FillRect"
  811. "USER/S/InvertRect"
  812. "USER/S/FrameRect"
  813. "USER/S/DrawFocusRect"
  814. "USER/S/DrawText, Times Roman 16"
  815. "USER/S/GrayString, Times Roman 16"
  816. "USER/S/TabbedTextOut, Times Roman 16"
  817. "USER/S/ScrollDC"
  818. "USER/S/DrawIcon"
  819. End
  820.  
  821.